import request2 from '@/utils/request2'
import { unionApiUrl } from '../../config'
// let unionApiUrl = 'union-producer-server'

export default {
    // 分页查询
    getPage(data, params) {
        return request2({
            url: unionApiUrl + '/sealManagementRecovery/getPage', method: 'post', params, data
        })
    },
    delete(params) {
        return request2({
            url: unionApiUrl + '/sealManagementRecovery/delete', method: 'post', params
        })
    },
    add(data, params) {
        return request2({
            url: unionApiUrl + '/sealManagementRecovery/add', method: 'post', params, data
        })
    },
    // 修改创新工作室
    update(data, params) {
        return request2({
            url: unionApiUrl + '/sealManagementRecovery/update', method: 'post', params, data
        })
    },
    findById(data, params) {
        return request2({
            url: unionApiUrl + '/sealManagementRecovery/findById', method: 'get', params, data
        })
    },
    recycleAdd(data, params) {
        return request2({
            url: unionApiUrl + '/recycleSeal/add', method: 'post', params, data
        })
    },
}
